/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package avis.com.tp.doubletest.config;


import avis.com.tp.doubletest.Price;
import avis.com.tp.doubletest.PriceImpl;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;

/**
 *
 * @author Malotana
 */
@Configurable
public class AppConfig {
    @Bean(name="tpBook")
    public Price getPrc(){
        return new PriceImpl();
    } 
}